<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>菜品信息编辑</title>
  <link rel="stylesheet" href="/css/SellerMenuEdit.css">
</head>
<body>
<div>
  <ul id="s">
    <li><a href="/seller/menulist1"> 菜单1 </a></li>
    <li><a href="/seller/menulist2"> 菜单2 </a></li>
    <li><a href=""> >编辑 </a></li>
    <li><a href="/seller/order2"> 订单 </a></li>
    <li><a href="/table/seller"> 餐桌 </a></li>
  </ul>
</div>
<form id="x" action="/menu/editUpdate" method="post">
  <div id="f"><a id="update">菜品更新</a></div>
   <input th:value="${foodmenu.getId()}" type="hidden" name="id"></input><br>
  <label>菜名</label><input th:value="${foodmenu.getFoodname()}" name="foodname"></input><br>
  <label>价格</label><input th:value="${foodmenu.getFoodprice()}" name="foodprice"></input><br>
  <button type="submit">提交</button>
</form>
<form id="y" action="/photo/upload" method="post" enctype="multipart/form-data">
  <input th:value="${foodmenu.getId()}" type="hidden" name="id">
  选择图片:<input type="file" name="file" accept="image/*" /> <br>
  <input id="z" type="submit" value="立刻上传">
</form>
</body>
</html>
